const Mock = require('mockjs')

module.exports = Mock.mock({
	"list|100": [{
		"tilte": '@ctitle',
		"image": '@image(120x80, @color)',
		"desc": '@cword(10, 20)',
		"id|+1": 1
	}],
	"userList": [{
		username: 'admin',
		password: 'admin',
		tel: '13111111111',
		nickname: '管理员',
		"tags|5": [{
			"image": '@image(20x20, @color)',
			"title": '@ctitle',
			"id": '@id'
		}]
	}, {
		username: 'asan',
		password: 'asan',
		tel: '14111111111',
		nickname: '三三',
		"tags|8": [{
			"image": '@image(20x20, @color)',
			"title": '@ctitle',
			"id": '@id'
		}]
	}]
})